@mixin flex-column {
  display: flex;
  flex-direction: column;
}
@mixin flex-row {
  display: flex;
  flex-direction: row;
}
.annual-diy-wrap {
  box-sizing: border-box;
  overflow-x: hidden;
  background: #f5f5f5;
  .car-info {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
  }
  .cart-wrap {
    position: fixed;
    z-index: 0;
    bottom: 32rpx;
    width: 100%;
    z-index: 100;
    background-color: transparent;
    @include flex-row;
    align-items: center;
    justify-content: center;
    .cart {
      @include flex-row;
      justify-content: space-between;
      width: 686rpx;
      height: 104rpx;
      border-radius: 52rpx;
      position: relative;
      background-color: #1287ff;
      background-image: linear-gradient(to right, #1287ff, #12b3ff);
      box-shadow: 0px 2rpx 10rpx 0px rgba(18, 179, 255, 0.8);
      .left {
        @include flex-row;
        align-items: center;
        margin-left: 32rpx;
        // .cart-img {
        //   margin-top: -38rpx;
        //   margin-left: 32rpx;
        //   width: 120rpx;
        //   height: 120rpx;
        //   object-fit: contain;
        // }
        .count {
          margin-top: 5rpx;
          margin-left: 12rpx;
          @include flex-column;
          color: #ffe065;
          font-size: 20rpx;
          .total {
            font-size: 42rpx;
            line-height: 0;
          }
          .origin-total {
            margin-left: 12rpx;
            font-size: 24rpx;
            color: #8ad9ff;
            line-height: 0;
            text-decoration: line-through;
          }
          .tip {
            margin-top: 5rpx;
            color: #fffefe;
          }
        }
      }
      .btn {
        width: 172rpx;
        height: 104rpx;
        line-height: 103rpx;
        text-align: center;
        border-radius: 52rpx;
        color: #ffffff;
        background-color: #12b3ff;
        font-size: 32rpx;
        &.disabled {
          color: #999999;
          background-color: #dddddd;
        }
      }
    }
  }
  .list {
    box-sizing: border-box;
    padding-top: 92rpx;
    .loading-animation {
      width: 100%;
      height: 64rpx;
      margin-top: 32rpx;
      position: relative;
      .at-loading__ring {
        border-width: 2px;
      }
    }
    .content-wrap {
      padding-bottom: 200rpx;
      &-item {
        @include flex-column;
        background-color: #ffffff;
        margin-top: 20rpx;
        &-head {
          @include flex-row;
          align-items: center;
          justify-content: space-between;
          height: 100rpx;
          padding: 0 24rpx;
          box-shadow: 0px 2rpx 0px #f5f5f5;

          .desc {
            font-size: 22rpx;
            color: #999999;
          }
          .left {
            @include flex-row;
            align-items: center;
            height: 100rpx;
            .title {
              font-size: 30rpx;
              color: #333333;
              margin-right: 15rpx;
            }
          }
          .right {
            @include flex-row;
            align-items: center;
            height: 100rpx;
            .desc {
              margin-right: 15rpx;
            }
            .input-num {
              @include flex-row;
              .number-action {
                display: flex;
                align-items: center;
                justify-content: center;
                width: 44rpx;
                height: 44rpx;
                line-height: 22rpx;
                border-radius: 22rpx;
                text-align: center;
                border: 1px solid #f5f5f5;
                &.down {
                  // border-radius: 6px 0px 0px 6px;
                  border-right: 0;
                }
                &.up {
                  background-color: #1287ff;
                  background-image: linear-gradient(to right, #1287ff, #12b3ff);
                  // border-radius: 0px 6px 6px 0px;
                  border-left: 0;
                }
              }
              .number {
                width: 60rpx;
                height: 50rpx;
                line-height: 48rpx;
                text-align: center;
                color: #333333;
                font-size: 26rpx;
                font-weight: bold;
              }
            }
          }
        }
        &-content {
          position: relative;
          &:after {
            position: absolute;
            content: "";
            left: 24rpx;
            bottom: 0;
            width: 100%;
            height: 2rpx;
            background-color: #f5f5f5;
          }
          .item-info {
            box-sizing: border-box;
            position: relative;
            @include flex-row;
            align-items: center;
            min-height: 228rpx;
            width: 100%;
            padding: 24rpx;
            overflow: hidden;
            .left {
              display: flex;
              align-items: center;
              height: 100%;
              .annual-img {
                height: 180rpx;
                width: 180rpx;
                object-fit: cover;
                border-radius: 10rpx;
                background-color: #eee;
                opacity: 1;
                transition: opacity 0.3s linear;
              }
            }
            .right {
              box-sizing: border-box;
              height: auto;
              margin-left: 24rpx;
              color: #333333;
              font-size: 26rpx;
              @include flex-column;
              flex: 1;
              .goods-name {
                min-height: 76rpx;
              }
              .r-bottom-wrap {
                @include flex-column;
                flex: 1;
                justify-content: space-between;
                margin-top: 12rpx;
                .r-bottom {
                  // @include flex-column;
                  // justify-content: space-between;
                  // flex: 1;
                  &-t {
                    @include flex-row;
                    align-items: center;
                    color: #666666;
                    font-size: 20rpx;
                    .tag {
                      max-width: 274rpx;
                      word-break: break-all;
                      text-overflow: ellipsis;
                      overflow: hidden;
                      display: -webkit-box;
                      -webkit-line-clamp: 1;
                      -webkit-box-orient: vertical;
                      padding: 3rpx 24rpx;
                      border-radius: 10rpx;
                      font-size: 24rpx;
                      margin-right: 12rpx;
                      background-color: #f5f5f5;
                    }
                  }
                  &-b {
                    @include flex-row;
                    justify-content: space-between;
                    margin-top: 8rpx;
                    font-size: 20rpx;
                    color: #ff3b30;
                    .price {
                      font-size: 42rpx;
                      margin-right: 12rpx;
                    }
                    .origin-price {
                      font-size: 24rpx;
                      color: #999999;
                      text-decoration: line-through;
                    }
                    &-r {
                      align-self: flex-end;
                    }
                    .count {
                      font-size: 30rpx;
                      color: #333333;
                    }
                    .btn-wrap {
                      position: relative;
                      width: 162rpx;
                      height: 54rpx;
                      background-color: #12b3ff;
                      border-radius: 10rpx;
                      .btn {
                        position: absolute;
                        width: 162rpx;
                        height: 54rpx;
                        line-height: 53rpx;
                        text-align: center;
                        color: #ffffff;
                        font-size: 24rpx;
                        border-radius: 10rpx;
                        overflow: hidden;
                      }
                      .dotted {
                        position: absolute;
                        padding: 0 3rpx;
                        height: 32rpx;
                        line-height: 31rpx;
                        font-size: 22rpx;
                        min-width: 26rpx;
                        border-radius: 15rpx;
                        top: -15rpx;
                        right: 15rpx;
                        text-align: center;
                        background-color: #ff3b30;
                        color: #ffffff;
                      }
                    }
                  }
                }
                .r-bottom-r {
                  align-self: flex-end;
                  .btn-wrap {
                    position: relative;
                    width: 162rpx;
                    height: 54rpx;
                    background-color: #12b3ff;
                    border-radius: 10rpx;
                    .btn {
                      position: absolute;
                      width: 162rpx;
                      height: 54rpx;
                      line-height: 53rpx;
                      text-align: center;
                      color: #ffffff;
                      font-size: 24rpx;
                      border-radius: 10rpx;
                      overflow: hidden;
                    }
                    .dotted {
                      position: absolute;
                      height: 30rpx;
                      line-height: 30rpx;
                      font-size: 22rpx;
                      min-width: 30px;
                      border-radius: 15rpx;
                      top: -15rpx;
                      right: 15rpx;
                      text-align: center;
                      background-color: #ff3b30;
                      color: #ffffff;
                    }
                  }
                }
              }
            }
            &:after {
              position: absolute;
              content: "";
              left: 24rpx;
              bottom: 0;
              width: 100%;
              height: 2rpx;
              background-color: #f5f5f5;
            }
            &:last-child {
              &:after {
                position: absolute;
                content: "";
                height: 0rpx;
              }
            }
          }
        }
        &-bottom {
          @include flex-row;
          align-items: center;
          justify-content: space-between;
          height: 92rpx;
          padding: 0 24rpx;
          box-shadow: 0px -2rpx 0px #f5f5f5;
          font-size: 30rpx;
          color: #333333;
          &-left {
            @include flex-row;
            align-items: center;
            justify-content: flex-start;
          }
          .wage {
            color: #ff3b30;
          }
        }
      }
    }
  }
}

.tips-loading{
	position: fixed;
	width: 100%;
	left:0;
	top:100px;
	bottom:0;
	display: flex;
	align-items: center;
	color:#666;
	justify-content: center;
}
.content-tips{
	color:#E6A23C;
	padding:5px 24px;
	font-size: 26px;
}
